/*package com.zhd.schedule;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.zhd.service.PptnService;
import com.zhd.service.RiverService;

@Service
public class VcSchedule {
	private Logger logger = LoggerFactory.getLogger(this.getClass());
	
	@Autowired
	private RiverService riverService;
	@Autowired
	private PptnService pptnService;
	
	//@Scheduled(cron = "0 0/5 * * * ? ")
	private void riverSchedule() {
		logger.info("******定时任务-vc转发其他数据开始******");
		try {
			riverService.riverSchedule();
		} catch (JsonProcessingException e) {
			logger.error("******定时任务-vc转发其他数据异常******", e);
		}
		logger.info("******定时任务-vc转发其他数据结束******");
	}
	
	//@Scheduled(cron = "0 0/5 * * * ? ")
	private void rainSchedule() {
		logger.info("******定时任务-vc转发雨量数据开始******");
		try {
			pptnService.rainSchedule();
		} catch (JsonProcessingException e) {
			logger.error("******定时任务-vc转发雨量数据异常******", e);
		}
		logger.info("******定时任务-vc转发雨量数据结束******");
	}
}*/